package com.vm.model;

import java.util.Calendar;

import com.vm.commons.StringUtil;

/**
 * 活动soft类
 * 
 * @ProjectName: [WeiMai]
 * @Author: [kent.wang]
 * @CreateDate: [2014年10月16日 下午4:27:56]
 * @Version: [v1.0]
 * 
 */
public class ActiveSoft {

	private String id;
	private Integer categoryId; // activeType.id 类别Id
	private String softId; // softId
	private String userId;
	private String otime;
	private Integer rank;
	private Integer refreshTime;
	private Integer isNow;
	private int btnType;

	// soft属性
	private String imageUrl;
	private String apkUrl;
	private String authorName;
	private String name;
	private String packageName;
	private String version;
	private Integer star;
	private Integer download;
	private Float size;
	private int intergral;
	private int commentScore;
	private int usedIntergral;  //已抢下载积分
	private int usedComment;	//已抢评论积分

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public String getSoftId() {
		return softId;
	}

	public void setSoftId(String softId) {
		this.softId = softId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getOtime() {
		return otime;
	}

	public void setOtime(String otime) {
		this.otime = otime;
	}

	public Integer getRank() {
		return rank;
	}

	public void setRank(Integer rank) {
		this.rank = rank;
	}

	public Integer getRefreshTime() {
		return refreshTime;
	}

	public void setRefreshTime(Integer refreshTime) {
		this.refreshTime = refreshTime;
	}

	public Integer getIsNow() {
		return isNow;
	}

	public void setIsNow(Integer isNow) {
		this.isNow = isNow;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public String getApkUrl() {
		return apkUrl;
	}

	public void setApkUrl(String apkUrl) {
		this.apkUrl = apkUrl;
	}

	public String getAuthorName() {
		return authorName;
	}

	public void setAuthorName(String authorName) {
		this.authorName = authorName;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPackageName() {
		return packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public Integer getStar() {
		return star;
	}

	public void setStar(Integer star) {
		this.star = star;
	}

	public Integer getDownload() {
		return download;
	}

	public void setDownload(Integer download) {
		this.download = download;
	}

	public Float getSize() {
		return size;
	}

	public void setSize(Float size) {
		this.size = size;
	}

	public int getIntergral() {
		return intergral;
	}

	public void setIntergral(int intergral) {
		this.intergral = intergral;
	}

	public int getCommentScore() {
		return commentScore;
	}

	public void setCommentScore(int commentScore) {
		this.commentScore = commentScore;
	}

	public int getUsedIntergral() {
		return usedIntergral;
	}

	public void setUsedIntergral(int usedIntergral) {
		this.usedIntergral = usedIntergral;
	}

	public int getUsedComment() {
		return usedComment;
	}

	public void setUsedComment(int usedComment) {
		this.usedComment = usedComment;
	}

	public int getBtnType() {
		return btnType;
	}

	public void setBtnType(int btnType) {
		this.btnType = btnType;
	}

	@Override
	public String toString() {
		return "ActiveSoft [id=" + id + ", categoryId=" + categoryId
				+ ", softId=" + softId + ", userId=" + userId + ", otime="
				+ otime + ", rank=" + rank + ", refreshTime=" + refreshTime
				+ ", isNow=" + isNow + ", btnType=" + btnType + ", imageUrl="
				+ imageUrl + ", apkUrl=" + apkUrl + ", authorName="
				+ authorName + ", name=" + name + ", packageName="
				+ packageName + ", version=" + version + ", star=" + star
				+ ", download=" + download + ", size=" + size + ", intergral="
				+ intergral + ", commentScore=" + commentScore
				+ ", usedIntergral=" + usedIntergral + ", usedComment="
				+ usedComment + "]";
	}

	


	
}
